<template>
  <div>
    <h2>嵌套路由</h2>
    <router-link to="/home">主页</router-link>&nbsp;
    <router-link to="/news">新闻</router-link>&nbsp;
    <router-link to="/sports">体育</router-link>&nbsp;

    <router-view></router-view>&nbsp; 
  </div>
</template>
 
<script>
export default {
  data() {
    return {};
  },
  methods: {},
  components: {},
};
</script>

<style scoped>
     
</style>